-- GENERATED SPELL FOR [Flamekin Torcher] --


function spell0_9778(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(15665,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9778', 3000, 1)
end

function Sorts_9778(pUnit, Event)
local choix_sorts_9778 = math.random(0, 0)
if choix_sorts_9778 == 0 then
pUnit:RegisterEvent('spell0_9778', 1, 1)
end
end

function mob9778_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9778', math.random(1500, 3000), 1)
end

function mob9778_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9778_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9778_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9778, 1, 'mob9778_Action')
RegisterUnitEvent(9778, 2, 'mob9778_Leave')
RegisterUnitEvent(9778, 3, 'mob9778_Kill')
RegisterUnitEvent(9778, 4, 'mob9778_Die')
